package top.simonby.iron.plugin.data.jpa.query;

/**
 * @author Simon
 * @date 2020/4/23 20:45
 */
public enum SpecMatch {
    /**
     * filed = value
     */
    equal,
    /**
     * filed > value
     */
    gt,
    /**
     * field >= value
     */
    ge,
    /**
     * field < value
     */
    lt,
    /**
     * field <= value
     */
    le,

    /**
     * field != value
     */
    notEqual,
    /**
     * field like value
     */
    like,
    /**
     * field not like value
     */
    notLike,

    // 下面四个用于可比较类型(Comparable)的比较
    /**
     * field > value
     */
    greaterThan,
    /**
     * field >= value
     */
    greaterThanOrEqualTo,
    /**
     * field < value
     */
    lessThan,
    /**
     * field <= value
     */
    lessThanOrEqualTo
}
